package com.hhm.huo.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDate;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * VIEW --- 视图，两张表结合体
 * </p>
 *
 * @author 安安
 * @since 2022-05-26
 */
@Getter
@Setter
@TableName("tb_tickets")
public class Tickets implements Serializable {

    private static final long serialVersionUID = 1L;

    private Integer id;
    /**
     * 购票人
     */
    private String name;
    /**
     * 始发站id
     */
    private Integer startStationId;
    /**
     * 到达站id
     */
    private Integer endStationId;
    /**
     * 购票时间
     */
    private LocalDate buyDate;
    /**
     * 乘车时间
     */
    private LocalDate useDate;
    /**
     * 票价
     */
    private Integer price;
    /**
     * 始发站名称
     */
    private String sfz;
    /**
     * 到达站名称
     */
    private String ddz;


}
